import KBEngine
import random
import KBEDebug as log


class AvatarHangUp(KBEngine.EntityComponent):
    
    def __init__(self):
        KBEngine.EntityComponent.__init__(self)

    def onAttached(self, owner):
        log.INFO_MSG("AvatarHangUp::onAttached(): owner=%i" % (owner.id))

    def onDetached(self, owner):
        log.INFO_MSG("AvatarHangUp::onDetached(): owner=%i" % (owner.id))

    def pushHangUpPreviewAward(self, hang_up_award, hang_up_award_equip_lst):
        log.INFO_MSG(f'pushHangUpPreviewAward {hang_up_award} {hang_up_award_equip_lst}')

    def pushQuickXiXingAward(self, hang_up_award, hang_up_award_equip_lst):
        log.INFO_MSG(f'pushQuickXiXingAward {hang_up_award} {hang_up_award_equip_lst}')
    
